package com.example.selfcontrol.dto;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;

@Data
public class ArticleInfoDTO {
    private String brief ;

    private String title ;

    private Date createTime ;
    private Long articleId ;

    public ArticleInfoDTO(String brief, String title, Date createTime, Long articleId) {
        this.brief = brief;
        this.title = title;
        this.createTime = createTime;
        this.articleId = articleId;
    }

}
